<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<%-- <title>首页</title> --%>
	<meta name="decorator" content="ems_${site.theme}_front" />
	<meta name="description" content="JeeSite ${site.description}" />
	<meta name="keywords" content="JeeSite ${site.keywords}" /> 
	<script type="text/javascript">
	function toPay(orderNo,money)
	{
		// mod by zad 2017-11-20 金额不在url中体现，而修改为后台拼装
		/* location = "${ctx}/weixin/getCode?url=${ctx}/weixin/pay?oid=" + orderNo + "!p=" + money; */
		location = "${ctx}/weixin/getCode?ono=" + orderNo;
	}
	</script>
</head>
<body>
	
	<!--主界面部分-->
		 
	<header class="mui-bar mui-bar-nav" style="background:url('${ctxStatic }/weixin/images/navbg.jpg');"> 
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
			<div style="width:80%; overflow: hidden; margin:0  10%; line-height: 44px; text-align:left; vertical-align: middle; height: 100%;color:#fff;">
			${course.name }
			 </div> 
	</header>
 
 
		<div class="mui-content" style="padding-top:50px; padding-bottom: 60px; overflow-y: scroll; height:auto;">
		     
			
			<div class="mui-content-padded" style="margin-top: 30px;">	 
		     	<h3 style="text-align: center;">${course.name }获奖成绩公布</h3> 
		     	
		     	<c:if test="${not empty noData && 'yes' eq noData}">
		   		<div class="fli">
		   			没有找到相关${course.name }的报名信息。
		   		</div>
		   		</c:if>
		   		
				<%-- <c:forEach items="${joins }" var="join">
			     	<div style="padding: 30px; font-size: 14px; color: #999;border-bottom:1px dotted #ccc">
					<div class="fli"> 选手姓名：${join.joiner }</div>
					<div class="fli"> 展示类别：${join.course.name }</div>
					<div class="fli"> 组别：${join.groupTypeName }</div>
					<div class="fli"> 展示方式：${join.joinTypeName }</div>
					<div class="fli"> ${join.course.sign eq 'paint'?'展示类型':'展示大类'}：${join.bigCategoryName }</div>
					<div class="fli" style="display: ${join.course.sign eq 'paint'?'none':'block'}"> 展示小类：${join.smallCategoryName}</div>
					<div class="fli"> 推选学校：${join.school}</div>
					<div class="fli"> 备注(初选地点)：${empty join.remarks ? '暂无':join.remarks}</div>
					<div class="fli"> 家长姓名：${join.register }</div>
					<div class="fli"> 家长电话：${join.mobile }</div>
					<div class="fli"> 报名时间：<fmt:formatDate value="${join.order.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></div>
					<div class="fli"> 订单号：${join.order.orderNo}</div>
					<div class="fli">状态：${'0' eq join.order.status?'未支付':'1' eq join.order.status?'已完成（已支付）':'2' eq join.order.status ? '支付失败':'支付取消'}</div>
					<Div class="fli">成绩：${(empty join.award || empty join.award.award) ?'暂未出':join.award.award}</Div>
					
					<c:if test="${'0' eq join.order.status || '-1' eq join.order.status}">
						 <br/>
						 <button type="button" class="mui-btn mui-btn-success" onclick="toPay('${join.order.orderNo}','${join.order.money}');">微信支付</button>
				     	 
			     	</c:if>
			     	</div>
			     	
		     	</c:forEach> --%>
		     	
		     	<c:forEach items="${awards }" var="award">
				   <div class="gul" style="border-bottom:1px dotted #ccc">
				  	 <div class="fli"> 选手姓名：${award.joiner }</div>
				  	 <div class="fli"> 展示类别：${award.course.name }</div>
					 <div class="fli"> 组别：${award.groupTypeName }</div>
					 <div class="fli"> 展示方式：${award.joinTypeName }</div>
					 <div class="fli"> ${award.course.sign eq 'paint'?'展示类型':'展示大类'}：${award.bigCategoryName }</div>
					 <div class="fli" style="display: ${award.course.sign eq 'paint'?'none':'block'}"> 展示小类：${award.smallCategoryName}</div>
					 <div class="fli"> 推选学校：${award.school}</div>
					 <div class="fli"> 备注(初选地点)：${empty award.remarks ? '暂无':award.remarks}</div>
					 <div class="fli"> 家长电话：${award.mobile }</div>
					 <div class="fli"> 成绩：${(empty award.award || empty award.award) ?'暂未出':award.award}奖</div>
					 <div class="fli"> 得分情况：${award.score }分</div>
					 <Div class="fli"> </Div>
				  </div>
				  </c:forEach>
		     	
		     	</div>
		     <br/>
			 </div>
		 	 
</body>
</html>